<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>内容管理</title>
<link href="__ADMIN_PUBLIC__css/style.css" rel="stylesheet" type="text/css" />
<link href="__ADMIN_PUBLIC__css/select.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="__ADMIN_PUBLIC__/js/jquery.js"></script>

<script type="text/javascript">
$(document).ready(function(){
//$(".click").click(function(){
//$(".tip").fadeIn(200);
//});
  
  $(".tiptop a").click(function(){
  $(".tip").fadeOut(200);
});

  $(".sure").click(function(){
  $(".tip").fadeOut(100);
});

  $(".cancel").click(function(){
  $(".tip").fadeOut(100);
});

});
</script>


</head>


<body>

	<div class="place">
    <span>位置：</span>
    <ul class="placeul">
    <li><a href="#">首页</a></li>
    <li><a href="#">数据表</a></li>
    <li><a href="#">基本内容</a></li>
    </ul>
    </div>
    
    <div class="rightinfo">
    
    <div class="tools">
    
    	<ul class="toolbar">
        <li class="click"><a href="{:U('Admin/content/add')}?cid={$Think.get.cid}"><span><img src="__ADMIN_PUBLIC__images/t01.png" /></span>添加新内容</a></li>
        <li><span><img src="__ADMIN_PUBLIC__images/t03.png" /></span>删除</li>
        </ul>
        
        
        <ul class="toolbar1">
        </ul>
    
    
    
    </div>
    
    
    <ul class="seachform">
    
    <li><label>综合查询</label><input name="" class="scinput" type="text"></li>
    <li><label>指派</label>  
    <div class="vocation">
    <div class="uew-select"><div style="width: 73px;" class="uew-select-value ue-state-default"><em class="uew-select-text">全部</em><em class="uew-icon uew-icon-triangle-1-s"></em></div><select style="width: 100px;" class="select3">
    <option>全部</option>
    <option>其他</option>
    </select></div>
    </div>
    </li>
    
    <li><label>重点客户</label>  
    <div class="vocation">
    <div class="uew-select"><div style="width: 73px;" class="uew-select-value ue-state-default"><em class="uew-select-text">全部</em><em class="uew-icon uew-icon-triangle-1-s"></em></div><select style="width: 100px;" class="select3">
    <option>全部</option>
    <option>其他</option>
    </select></div>
    </div>
    </li>
    
    <li><label>客户状态</label>  
    <div class="vocation">
    <div class="uew-select"><div style="width: 73px;" class="uew-select-value ue-state-default"><em class="uew-select-text">全部</em><em class="uew-icon uew-icon-triangle-1-s"></em></div><select style="width: 100px;" class="select3">
    <option>全部</option>
    <option>其他</option>
    </select></div>
    </div>
    </li>
    
    <li><label>&nbsp;</label><input name="" class="scbtn" value="查询" type="button"></li>
    
    </ul>
    
    <table class="tablelist">
    	<thead>
    	<tr>
        <th><input name="" type="checkbox" value="" checked="checked"/></th>
        <th>编号<i class="sort"><img src="__ADMIN_PUBLIC__images/px.gif" /></i></th>
        <th>标题</th>
        <th>点击量</th>
        <th>发布时间</th>
        <th>属性</th>
        <th>操作</th>
        </tr>
        </thead>
        <tbody>
        <foreach name="article" item="v">
        <tr>
        <td><input name="" type="checkbox" value="" /></td>
        <td>{$v.id}</td>
        <td><a href="__ROOT__/index.php/article/?cid={$v.cid}&aid={$v.id}&mid={$v.amodel_id}" target="_blank">{$v.atitle}</a></td>
     
        <td>{$v.aclick}</td>
        <td>{$v.aaddtime|date="Y-m-d H:i:s",###}</td>
        <td>
        	<if condition="$v.aattr eq 0">正常状态</if>
        	<if condition="$v.aattr eq 1">[头条]</if>
        	<if condition="$v.aattr eq 2">[推荐]</if>
        	<if condition="$v.aattr eq 3">[幻灯]</if>
        	<if condition="$v.aattr eq 4">[特荐]</if>
        	<if condition="$v.aattr eq 5">[滚动]</if>
        	<if condition="$v.aattr eq 5">[加粗]</if>
        </td>
        <td><a href="__ROOT__/index.php/article/?cid={$v.cid}&aid={$v.id}&mid={$v.amodel_id}" target="_blank" class="tablelink">查看</a>   <a href="{:U('Admin/content/edit')}?cid={$v.cid}&aid={$v.id}" class="tablelink del"> 修改</a>    <a href="{:U('Admin/content/del')}?cid={$v.cid}&aid={$v.id}" class="tablelink del"> 删除</a></td>
        </tr> 
       	</foreach>
              
        </tbody>
    </table>
    
   
    <div class="pagin">
		{$page}
    </div>
    
    
    <div class="tip">
    	<div class="tiptop"><span>提示信息</span><a></a></div>
        
      <div class="tipinfo">
        <span><img src="__ADMIN_PUBLIC__images/ticon.png" /></span>
        <div class="tipright">
        <p>是否确认对信息的修改 ？</p>
        <cite>如果是请点击确定按钮 ，否则请点取消。</cite>
        </div>
        </div>
        
        <div class="tipbtn">
        <input name="" type="button"  class="sure" value="确定" />&nbsp;
        <input name="" type="button"  class="cancel" value="取消" />
        </div>
    
    </div>
    
    
    
    
    </div>
    
    <script type="text/javascript">
	$('.tablelist tbody tr:odd').addClass('odd');
	</script>

</body>

</html>
